﻿1
00:00:00,930 --> 00:00:07,170
‫So the channel represents a logical data pipe that exists between the client and the server, in some

2
00:00:07,170 --> 00:00:13,560
‫cases the Shell command in the interpreter session does not work in such cases, the channel command

3
00:00:13,560 --> 00:00:15,570
‫can be used to obtain the command lines.

4
00:00:17,400 --> 00:00:24,330
‫So we are in an interpreter session in Colly, if we type channel with no parameter, we get the help

5
00:00:24,330 --> 00:00:25,800
‫about the usage of the command.

6
00:00:27,620 --> 00:00:34,010
‫The perimeter is to list the active channels, same as the parameter of the sessions command, not any

7
00:00:34,010 --> 00:00:35,090
‫active channel at the moment.

8
00:00:36,380 --> 00:00:42,030
‫So the execute command runs a command on the target if you run the command with no parameter.

9
00:00:42,050 --> 00:00:45,170
‫Again, you will see the help manual of the command.

10
00:00:46,040 --> 00:00:48,730
‫The usage of the execute command is here.

11
00:00:49,520 --> 00:00:54,320
‫Name the file with F parameter and then the options come.

12
00:00:55,300 --> 00:01:04,660
‫So have to give the file name, which will be run, I do interact with the process immediately uppercase

13
00:01:04,660 --> 00:01:10,750
‫age to create the process hidden from view so the victim won't see anything.

14
00:01:12,700 --> 00:01:21,430
‫Now, this is also important sea to create a channel, so let's create a channel using the execute command.

15
00:01:23,260 --> 00:01:28,810
‫Commander EXI is the process we want, which is, as you know, the command line executable of Windows

16
00:01:28,810 --> 00:01:29,470
‫Systems.

17
00:01:30,600 --> 00:01:38,640
‫Seek to create a channel as a result of this execution of a case to create a hidden process.

18
00:01:39,240 --> 00:01:44,960
‫Now, if we use the eye parameter here, we directly interact with the channel created for this command.

19
00:01:45,210 --> 00:01:47,360
‫Don't use the parameter right now.

20
00:01:47,850 --> 00:01:50,970
‫OK, so hit enter to run the command.

21
00:01:52,230 --> 00:01:59,190
‫A command process has been created on the vector machine and the Channel four is created between the

22
00:01:59,190 --> 00:02:00,830
‫victim and us.

23
00:02:01,410 --> 00:02:02,910
‫So let's list the channels.

24
00:02:03,910 --> 00:02:05,350
‫Here we have Channel four.

25
00:02:06,460 --> 00:02:07,610
‫You interact with the channel.

26
00:02:07,630 --> 00:02:09,280
‫Use the eye parameter.

27
00:02:11,500 --> 00:02:18,160
‫Here we have a command shell on the victim, dare to list the files and folders inside the current folder.

28
00:02:19,490 --> 00:02:26,900
‫Once again, we can use control sickies to terminate the channel or control Z keys to send the channel

29
00:02:26,900 --> 00:02:27,640
‫to the background.

30
00:02:29,310 --> 00:02:35,860
‫Now, another way to terminate a channel is using the channel command with the C parameter in a matter

31
00:02:36,140 --> 00:02:40,480
‫session, give the ID number with C and that's it.

32
00:02:41,040 --> 00:02:42,330
‫We terminated the channel.

